<template>
  <div class="vita-flex-item" :style="{'marginLeft': marginLeft}">
    <slot></slot>
  </div>
</template>

<script>
  
  export default {

    computed: {
      marginLeft: function() {
        return (this.$parent.supportFlex ? this.$parent.margin : 0) + 'px'
      }
    }

  }

</script>